<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    
    
    
<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
	<title>客户资源管理系统</title>
	<!-- 标签图标设置 -->
	<link rel="icon" href="images/favicon.ico" type="image/ico">
	<!-- SEO（搜索引擎所有关键件） -->
	<meta name="keywords" content="crm,qf">
	<meta name="description" content="这是一个解决中小企业客户资源管理的网站">
	<meta name="author" content="枫桥夜泊1990">
	<link href="css/bootstrap.min.css" rel="stylesheet">
	<link href="css/materialdesignicons.min.css" rel="stylesheet">
	<link href="css/style.min.css" rel="stylesheet">
	<link rel="stylesheet" href="js/jconfirm/jquery-confirm.min.css">
</head>
  
<body>
<div class="lyear-layout-web">
  <div class="lyear-layout-container">
   <!--左侧导航-->
    <aside class="lyear-layout-sidebar">
      
      <!-- logo -->
      <div id="logo" class="sidebar-header">
        <a href="index.html"><img src="images/logo-sidebar.png" title="LightYear" alt="LightYear" /></a>
      </div>
      <div class="lyear-layout-sidebar-scroll"> 
        
         <jsp:include page="common/menus.jsp"></jsp:include>
        
         <div class="sidebar-footer">
		  <p class="copyright">Copyright &copy; 2020. <img style="width: 25px;padding-bottom: 5px;" src="images/fy.png" /> <a target="_blank" href="https://hd1611756908.github.io/"> CRM</a>&nbsp; Powered By &nbsp;<a href="https://space.bilibili.com/514155929/" target="_blank" title="枫桥夜泊">枫桥夜泊</a></p>
		</div>
      </div>
      
    </aside>
    <!--End 左侧导航-->
    
    <!--头部信息-->
    <header class="lyear-layout-header">
      
      <nav class="navbar navbar-default">
        <div class="topbar">
          
          <div class="topbar-left">
            <div class="lyear-aside-toggler">
              <span class="lyear-toggler-bar"></span>
              <span class="lyear-toggler-bar"></span>
              <span class="lyear-toggler-bar"></span>
            </div>
            <span class="navbar-page-title"> 线索 - 添加线索 </span>
          </div>
          
          <ul class="topbar-right">
          
              <jsp:include page="common/ABC.jsp"></jsp:include>
            <!--切换主题配色-->
		    <li class="dropdown dropdown-skin">
			  <span data-toggle="dropdown" class="icon-palette"><i class="mdi mdi-palette"></i></span>
			  <ul class="dropdown-menu dropdown-menu-right" data-stopPropagation="true">
                <li class="drop-title"><p>主题</p></li>
                <li class="drop-skin-li clearfix">
                  <span class="inverse">
                    <input type="radio" name="site_theme" value="default" id="site_theme_1" checked>
                    <label for="site_theme_1"></label>
                  </span>
                  <span>
                    <input type="radio" name="site_theme" value="dark" id="site_theme_2">
                    <label for="site_theme_2"></label>
                  </span>
                  <span>
                    <input type="radio" name="site_theme" value="translucent" id="site_theme_3">
                    <label for="site_theme_3"></label>
                  </span>
                </li>
			    <li class="drop-title"><p>LOGO</p></li>
				<li class="drop-skin-li clearfix">
                  <span class="inverse">
                    <input type="radio" name="logo_bg" value="default" id="logo_bg_1" checked>
                    <label for="logo_bg_1"></label>
                  </span>
                  <span>
                    <input type="radio" name="logo_bg" value="color_2" id="logo_bg_2">
                    <label for="logo_bg_2"></label>
                  </span>
                  <span>
                    <input type="radio" name="logo_bg" value="color_3" id="logo_bg_3">
                    <label for="logo_bg_3"></label>
                  </span>
                  <span>
                    <input type="radio" name="logo_bg" value="color_4" id="logo_bg_4">
                    <label for="logo_bg_4"></label>
                  </span>
                  <span>
                    <input type="radio" name="logo_bg" value="color_5" id="logo_bg_5">
                    <label for="logo_bg_5"></label>
                  </span>
                  <span>
                    <input type="radio" name="logo_bg" value="color_6" id="logo_bg_6">
                    <label for="logo_bg_6"></label>
                  </span>
                  <span>
                    <input type="radio" name="logo_bg" value="color_7" id="logo_bg_7">
                    <label for="logo_bg_7"></label>
                  </span>
                  <span>
                    <input type="radio" name="logo_bg" value="color_8" id="logo_bg_8">
                    <label for="logo_bg_8"></label>
                  </span>
				</li>
				<li class="drop-title"><p>头部</p></li>
				<li class="drop-skin-li clearfix">
                  <span class="inverse">
                    <input type="radio" name="header_bg" value="default" id="header_bg_1" checked>
                    <label for="header_bg_1"></label>                      
                  </span>                                                    
                  <span>                                                     
                    <input type="radio" name="header_bg" value="color_2" id="header_bg_2">
                    <label for="header_bg_2"></label>                      
                  </span>                                                    
                  <span>                                                     
                    <input type="radio" name="header_bg" value="color_3" id="header_bg_3">
                    <label for="header_bg_3"></label>
                  </span>
                  <span>
                    <input type="radio" name="header_bg" value="color_4" id="header_bg_4">
                    <label for="header_bg_4"></label>                      
                  </span>                                                    
                  <span>                                                     
                    <input type="radio" name="header_bg" value="color_5" id="header_bg_5">
                    <label for="header_bg_5"></label>                      
                  </span>                                                    
                  <span>                                                     
                    <input type="radio" name="header_bg" value="color_6" id="header_bg_6">
                    <label for="header_bg_6"></label>                      
                  </span>                                                    
                  <span>                                                     
                    <input type="radio" name="header_bg" value="color_7" id="header_bg_7">
                    <label for="header_bg_7"></label>
                  </span>
                  <span>
                    <input type="radio" name="header_bg" value="color_8" id="header_bg_8">
                    <label for="header_bg_8"></label>
                  </span>
				</li>
				<li class="drop-title"><p>侧边栏</p></li>
				<li class="drop-skin-li clearfix">
                  <span class="inverse">
                    <input type="radio" name="sidebar_bg" value="default" id="sidebar_bg_1" checked>
                    <label for="sidebar_bg_1"></label>
                  </span>
                  <span>
                    <input type="radio" name="sidebar_bg" value="color_2" id="sidebar_bg_2">
                    <label for="sidebar_bg_2"></label>
                  </span>
                  <span>
                    <input type="radio" name="sidebar_bg" value="color_3" id="sidebar_bg_3">
                    <label for="sidebar_bg_3"></label>
                  </span>
                  <span>
                    <input type="radio" name="sidebar_bg" value="color_4" id="sidebar_bg_4">
                    <label for="sidebar_bg_4"></label>
                  </span>
                  <span>
                    <input type="radio" name="sidebar_bg" value="color_5" id="sidebar_bg_5">
                    <label for="sidebar_bg_5"></label>
                  </span>
                  <span>
                    <input type="radio" name="sidebar_bg" value="color_6" id="sidebar_bg_6">
                    <label for="sidebar_bg_6"></label>
                  </span>
                  <span>
                    <input type="radio" name="sidebar_bg" value="color_7" id="sidebar_bg_7">
                    <label for="sidebar_bg_7"></label>
                  </span>
                  <span>
                    <input type="radio" name="sidebar_bg" value="color_8" id="sidebar_bg_8">
                    <label for="sidebar_bg_8"></label>
                  </span>
				</li>
			  </ul>
			</li>
            <!--切换主题配色-->
          </ul>
          
        </div>
      </nav>
      
    </header>
    <!--End 头部信息-->
    
    <!--页面主要内容-->
    <main class="lyear-layout-content">
      
      <div class="container-fluid">
        
        <!-- 表单 元素 start-->
		<div class="card">
		  <div class="card-body">                                         <!--修改内容  -->
                                                                           <!-- onsubmit="return false;" -->
			<form class="form-horizontal" action="${pageContext.request.contextPath }/CustomerAddServlet" method="post" ;>
			

			  <div class="form-group">
				<label class="col-md-3 control-label" for="example-hf-thread">客户的名称</label>
				<div class="col-md-4">
				  <input class="form-control" type="text" name="customerName" id="example-hf-thread"  placeholder="请输入您的姓名..">
				</div>
			  </div>
			  <div class="form-group">
				<label class="col-md-3 control-label" for="example-hf-phone">手机号</label>
				<div class="col-md-4">
				  <input class="form-control" type="text" name="phone" id="example-hf-phone"  placeholder="请输入您的手机号..">
				</div>
			  </div>
			  <div class="form-group">
				<label class="col-md-3 control-label" for="example-hf-phone1">负责人</label>
				<div class="col-md-4">
				  <select class="form-control" name="personLiableID">   
				  
					 <c:forEach items="${employeeList}" var="employeeList">
						  <option value="${employeeList.employeeID }">${ employeeList.employeeName }</option>
					 </c:forEach>        
					  
				  </select>
				</div>
			  </div>
			  
			  <div class="form-group">
				<label class="col-md-3 control-label" for="example-hf-phone1">创建人</label>
				<div class="col-md-4">
				  <select class="form-control" name="founderID">   
				  
					 <c:forEach items="${employeeList}" var="employeeList">
						  <option value="${employeeList.employeeID }">${ employeeList.employeeName }</option>
					 </c:forEach>       
					  
				  </select>
				</div>
			  </div>
			  
			  
		  <div class="form-group">
				<label class="col-md-3 control-label" for="example-hf-phone1">线索来源</label>
				<div class="col-md-4">
				  <select class="form-control" name="sourceID">   
				  
					 <c:forEach items="${sourcesList}" var="sourcesList">
						  <option value="${sourcesList.sourceID }">${ sourcesList.sourceName }</option>
					 </c:forEach>       
					  
				  </select>
				</div>
			  </div>
			  
		      <div class="form-group">
				<label class="col-md-3 control-label" for="example-hf-phone1">客户行业</label>
				<div class="col-md-4">
				  <select class="form-control" name="industryID">   
				  
					 <c:forEach items="${industryList}" var="industryList">
						  <option value="${industryList.industryID }">${ industryList.industryName }</option>
					 </c:forEach>       
					  
				  </select>
				</div>
			  </div>
			  
			  
			  <div class="form-group">
				<label class="col-md-3 control-label" for="example-hf-phone1">客户级别</label>
				<div class="col-md-4">
				  <select class="form-control" name="levelID">    <!--name  和   var  一一对应 名字必须一样 -->
				  
					 <c:forEach items="${levelsList}" var="levelsList">
						  <option value="${levelsList.levelID }">${ levelsList.levelName }</option>
					 </c:forEach> 
					                               
				  </select>
				</div>
			  </div>	  
		  
		  	 <div class="form-group">
				<label class="col-md-3 control-label" for="example-hf-phone">下次联系时间</label>
				<div class="col-md-4">
				  <input class="form-control js-datepicker" type="text" name="nextContactTime" id="example-hf-phone" data-date-format="yyyy-mm-dd" placeholder="年-月-日" >
				</div>
			  </div>
		  




			  <div class="form-group">
				<div class="col-md-9 col-md-offset-3">
				  <button class="btn btn-info btn-w-md" type="submit">保存</button>
				</div>
			  </div>
			  
			</form>
			
		  </div>
		</div>
		<!-- 表单 元素 end-->
        
      </div>
      
    </main>
    <!--End 页面主要内容-->
  </div>
</div>

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/perfect-scrollbar.min.js"></script>
<!--时间选择插件-->
<script src="js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="js/main.min.js"></script>
<!--图表插件-->
<script type="text/javascript" src="js/Chart.js"></script>
<script src="js/jconfirm/jquery-confirm.min.js"></script>

</body>
</html>    